﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using RIDA.Engine;
using RIDA.Globals;
using System.Windows.Controls;
using RIDA.Globals.Interfaces;

namespace RIDA.Studio.ViewModels
{
    public class PropertyGridViewModel : ViewModelBase,IPropertyGridViewModel
    {
        public PropertyGridViewModel()
        {
            
        }

        private object _instance;

        public object InstanceObject
        {
            get { return _instance; }
            set
            {
                _instance = value;
                OnNotifyPropertyChanged("InstanceObject");
            }
        }

        public void Select(object o)
        {
            InstanceObject = o;
        }
    }
}

